@import "media-queries";

.goodContent {
  .mpy-slides {
    -webkit-box-shadow: none;
    box-shadow:none;
    img {
      min-height:10rem;
      max-height: 29rem;
      width: 100%;
      margin: 0 auto;
    }
  }
  .mpy-goodContent-hd {
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    .mpy-goodContent-hd-title, .mpy-goodContent-hd-info {
      font-size: 1.7rem;
      margin: 0;
    }
    .mpy-goodContent-hd-discount {
      display: block;
      color: $mainFontColor;
      font-size: 1.2rem;
    }
    .mpy-goodContent-hd-price {
      display: block;
      color: $AuxiliaryRedColor;
      font-size: 1.7rem;
      line-height: 1.7rem;
    }
  }
  .mpy-goodContent-content {
    .mpy-goodContent-content-param-item {
      border-top: 0.1rem solid #cccccc;
      margin: 0 2rem;
      display: block;

      .title, .icon {
        color: $mainFontColor;
        font-size: 1.2rem;
        display: inline-block;
        line-height: 3.5rem;
      }
      .title {
        float: left;
      }
      .icon {
        float: right;
      }
    }
    .mpy-goodContent-content-comment {
      border-top: 0.5rem solid #eeeeee;
      .mpy-goodContent-content-param-item {
        border: 0;
        margin-bottom: 0;
      }
      .mpy-goodContent-comment-item {
        margin: 0 2rem 1rem 2rem;
        .mpy-comment-item-user {
          margin: 0.5rem auto;
          .avatar {
            width: 3.5rem;
            height: 3.5rem;
            display: inline-block;
          }
          .name {
            display: inline-block;
            font-size: 1.4rem;
            line-height: 3.5rem;
            margin: 0;
          }
        }
        p {
          font-size: 1rem;
          margin: 0;
          color: $mainFontColor;
        }
      }
    }
    .mpy-goodContent-content-info {
      border-top: 0.5rem solid #eeeeee;
      .mpy-goodContent-info-hd {
        margin: 0.5rem 2rem;
        font-size: 1.2rem;
        color: $mainFontColor;
      }
      .mpy-goodContent-info-content {
        margin: 0.5rem 2rem;
        img {
          width: 100%;
        }
      }
    }
  }
  .mpy-modal-goodContent-goodParam {
    .mpy-modal-bottom-bd-title {
      text-align: center;
      font-size: 1.2rem;
      color: $mainFontColor;
      margin: 0;
    }
    .mpy-modal-bottom-content {
      margin: 0 1rem;
      padding: 0;
      h1 {
        text-align: left;
        color: $mainFontColor;
        font-size: 1.2rem;
        line-height: 1.2rem;
        margin: 0;
        display: inline-block;
        width: 6rem;
        padding-right: 0.5rem;
      }
      p {
        text-align: left;
        line-height: 1.2rem;
        display: inline-block;
        font-size: 1.2rem;
        color: $AuxiliaryFontBlackColor;
        margin: 0;
      }
    }
  }
  .mpy-modal-goodContent-selectParam {
    display: none;
    .mpy-modal-bottom-hd {
      position: relative;
      margin-bottom: 1rem;
      min-height: 6rem;
      * {
        font-size: 1.2rem;
        display: block;
        margin: 0;
      }
      img {
        width: 10rem;
        height: 10rem;
        border: 0.1rem solid #fff;
        display: inline-block;
        position: absolute;
        top: -3rem;
        left: 1rem;
        background: #fff;
      }
      div {
        display: inline-block;
        margin-left: 12rem;
        margin-top: 1rem;
        .price {
          color: $AuxiliaryRedColor;
        }
        .stock {
          color: $mainFontColor;
        }
        .check {
          color: $mainFontColor;
          span {
            display: inline-block;
            margin: 0 0.5rem;
            color: $mainColor;
          }
        }
      }
    }
    .mpy-modal-bottom-bd {
      background: #fff;
      margin: 0 1rem;
      max-height: 30rem;
      overflow: scroll;
      .mpy-modal-bottom-item {
        border-top: 0.1rem solid #cccccc;
        span {
          font-size: 1rem;
          color: $mainFontColor;
          margin: 0.5rem 0 0 0;
          display: block;
        }
        ul {
          text-align: center;
          li {
            height: auto;
            label {
              margin: 0;
              input:checked + span {
                background: $mainColor;
              }
              input {
                display: none;
              }
              span {
                line-height: 3rem;
                background: #eeeeee;
                display: block;
                text-align: center;
                font-size: 1rem;
                margin: 0;
                width: 6.6rem;
                border: 0.5rem solid #fff;
                color: $AuxiliaryFontBlackColor;
                border-radius: 0.7rem;
              }
            }
          }
        }
        .mpy-modal-bottom-item-num {
          margin-top: 0.5rem;
          font-size: 0;
          .title {
            line-height: 3.4rem;
            display: inline-block;
            vertical-align: middle;
            margin-right: 3.5rem;
            margin-top: 0;
          }
          .mpy-modal-bottom-item-opt {
            font-size: 0;
            position: relative;
            display: inline-block;
            span {
              font-size: 1rem;
              line-height: 3rem;
              width: 3rem;
              height: 3rem;
              display: inline-block;
              margin: 0;
              position: absolute;
              text-align: center;
              background: #eeeeee;
              border: 0.1rem solid $mainFontColor;
            }
            .item-num-add {
              background: $mainFontColor !important;
              color: white !important;
            }
            input {
              padding: 0;
              text-align: center;
              font-size: 1.2rem;
              margin-left: 2.9rem;
              display: inline-block;
              width: 6.4rem;
              height: 3rem;
              border-top: 0.1rem solid $mainFontColor;
              border-bottom: 0.1rem solid $mainFontColor;
              border-left: 0;
              border-right: 0;
            }
          }
        }

      }
    }
    .mpy-goodContent-selectParam-ft {
      font-size: 0;
      .mpy-modal-save {
        width: 50% !important;
        display: inline-block;
      }
      .mpy-modal-return {
        width: 50% !important;
        display: inline-block;
        background: #FCD846;
      }
    }
  }

}

.mpy-goodContent-opt {
  position: fixed;
  bottom: 0;
  background: #fff;
  text-align: center;
  font-size: 0;
  height: 4rem;
  h1 {
    font-size: 1.2rem;
    line-height: 1.5rem;
    margin: 0;
    color: $mainFontColor;
    display: block;
  }
  i {
    display: block;
    font-size: 2rem;
    line-height: 2.4rem;
    color: $mainFontColor;
  }
  .mpy-goodContent-addFavorites {
    background: #fff;
    border: 0.1rem solid $mainFontColor;
  }
  .mpy-goodContent-kf {
    background: #fff;
    border: 0.1rem solid $mainFontColor;
    i {
      color: #3778b4;
    }
  }
  .mpy-goodContent-add {
    background-color: $btnColor;
    color: $AuxiliaryFontBlackColor;
    border: 0;
    border-radius: 0.1rem;
    font-size: 1.2rem;
    line-height: 4rem;
    display: inline-block;
    text-align: center;
  }
  .mpy-goodContent-buy {
    background-color: #FCD846;
    color: $AuxiliaryFontBlackColor;
    border: 0;
    border-radius: 0.1rem;
    font-size: 1.2rem;
    line-height: 4rem;
    display: inline-block;
    text-align: center;
  }
}